@layout-menu-background:var(--base-menu-background, #29457a);
@layout-menu-hover:var(--base-sub-menu-hover, linear-gradient(rgba(71, 150, 255, 0.4) 0%, rgba(91, 154, 236, 0.4) 100%));
@layout-menu-active:var(--base-sub-menu-active, linear-gradient(#4796ff 0%, #5b9aec 100%));
@theme: var(--theme, #4A91F1);

// 背景图片
.bg-image(@url) {
  background: url("@{url}.png") no-repeat center;
  background-size: 100% 100%;
}

.bg-image-mobile(@url) {
  background: url('@{url}@2x.png') no-repeat center;
  @media (-webkit-min-device-pixel-ratio: 3),(min-device-pixel-ratio: 3) {
    background: url('@{url}@3x.png') no-repeat center;
  }
  background-size: 100% 100%;
}

// 不换行
.no-wrap() {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
